package homework.Sort;

public class Lion extends Catamount{
    public Lion(){

    }
    public Lion(String color,int age,String varieties) {
        super(color, age, varieties);
    }
    /**捕食的方法*/
        public void predation(){
            System.out.println("那只" + this.getAge() + "岁的"+this.getColor()
                    + this.getVarieties() + "和族群在领地边捕杀非洲水牛");
        }

}
